package spec.maxiuying.unit4.take_1.guanlian;

public class Student {
    String xm;

    String xh;

    String xx;



    public Student() {

        System.out.println("执行父类输出");

    }

    //无参构造方法（没有参数），也称为默认的构造方法

    String study(){

        return "good good study,day day up";

    }

    public Student(String xm, String xh, String xx) {

        this.xm = xm;

        this.xh = xh;

        this.xx = xx;

    }

    // public Student() {

    //   xx="四川幼专";

    //}

}
